<form action="{{ path('rewag_check_code') }}" method="post">
    <label>check code: </label><input type="text" name="check_code">
    <button type="submit">submit</button>
</form>